package com.zhentao.service;

import com.zhentao.pojo.MenuBusiness;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【menu_business】的数据库操作Service
* @createDate 2025-07-01 14:58:33
*/
public interface MenuBusinessService extends IService<MenuBusiness> {
    /**
     * 获取菜单树形结构
     */
    List<MenuBusiness> getMenuTree();

    /**
     * 根据角色获取菜单
     */
    List<MenuBusiness> getMenuByRole(Integer roleId);

}
